﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.Traceabilitys.Farmings
{
    /// <summary>
    /// 添加养殖企业信息命令
    /// </summary>
    public class AddFarmingCorporateCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 养殖场
        /// </summary>

        public string FarmingAddtrss { get; set; } = null!;

        /// <summary>
        /// 负责人
        /// </summary>
        public string FarmingPerson { get; set; } = null!;

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int FarmingNum { get; set; }

        /// <summary>
        /// 溯源编号
        /// </summary>
        public int ProductId { get; set; }

    }
}
